Skip to main content
Version: 1.0.2

Validate Transfer

The Validate Transfer Eligibility API allows the originating bank to pre-validate some payment details before sending the payment to Visa B2B Connect. This API also validates that the Commercial Customer Beneficiary can be paid through the Visa B2B Connect network and sends a positive or negative response back. This API minimizes the potential for exception scenarios in the Transfer process.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

id

Mandatory

String

Unique ID for each request

jsonrpc

Mandatory

String

JSON RPC VERSION - should be "2.0"

method

Mandatory

String

Method Name - should be "VisaService.ValidateTransfer"

params

Mandatory

Object

api

Mandatory

Object

credential

Mandatory

String

API credential provided by NetXD

signature

Mandatory

String

Signature of the digitally signed payload

payload

Mandatory

Object

currencyOfTransfer

Mandatory

String

Currency of Instructed Amount (Valid supported USI 4217 3-character currency code). Field length: 3 characters

creditorAccount

Mandatory

Object

accountNumber

Conditional Mandatory

String

Creditor Account Number

Account Number is mandatory if creditor bank's Enterprise ID or Iban is not provided

debtorAccount

Mandatory

Object

enterpriseId

Conditional Mandatory

(Mandatory if accountNumber is not provided)

String

Enterprise ID of Beneficiary Company (Creditor). Enterprise ID is assigned to each network-enabled company

Enterprise ID is mandatory if debtor bank's Account Number or Iban is not provided

accountNumber

Conditional Mandatory

(Mandatory if enterpriseId is not provided)

String

Account number of the debtor

creditorAgent

Mandatory

Object

bic

Mandatory

String

SWIFT BIC of Beneficiary Bank (Creditor Agent)


curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"id":"1","jsonrpc":"2.0","method":"VisaService.ValidateTransfer","params":{"api":{"credential":"Basic c3VwcG9ydCsxQG5ldHN5cy1pbmMuY29tOjM5ZDYxOGJkNTVmNzQ4ZGQ4ZWY4NWI5NWQxY2RlNDE5","signature":"{{signature}}"},"payload":{"currencyOfTransfer":"JPY","creditorAccount":{"accountNumber":"23423423423"},"debtorAccount":{"enterpriseId":"V-USA-USD-10039281-100020663-001","accountNumber": "123456799975756"},"creditorAgent":{"bic":"TCBWUS10"}}}}'

Body


{
"id": "1",
"jsonrpc": "2.0",
"method": "VisaService.ValidateTransfer",
"params": {
"api": {
"credential": "Basic c3VwcG9ydCsxQG5ldHN5cy1pbmMuY29tOjM5ZDYxOGJkNTVmNzQ4ZGQ4ZWY4NWI5NWQxY2RlNDE5",
"signature": "{{signature}}"
},
"payload": {
"currencyOfTransfer": "JPY",
"creditorAccount": {
"accountNumber": "23423423423"
},
"debtorAccount": {
"enterpriseId": "V-USA-USD-10039281-100020663-001",
"accountNumber": "123456799975756"
},
"creditorAgent": {
"bic": "TCBWUS10"
}
}
}
}

Response: 200

Response Parameters
ParameterDescription

id

String

Unique ID for each request

jsonrpc

String

JSON RPC VERSION - should be "2.0"

result

Object

debtorEnterpriseId

String

Enterprise ID of Payer Company (Debtor). Enterprise ID is assigned to each network-enabled company

responseList

Array

Enterprise ID of Payer Company (Creditor). Enterprise ID is assigned to each network-enabled company

reasonCode

String

Reason Code for Transfer

reasonDesc

String

Reason Description for Transfer


{
"id": "1",
"jsonrpc": "2.0",
"result": {
"debtorEnterpriseId": "V-USA-USD-10039281-100020663-001",
"responseList": [
{
"reasonCode": "SU10",
"reasonDesc": " Payment eligibility validation success."
}
]
}
}